From 60f893d11815749683e7102c5b87fa88c48000e9 Mon Sep 17 00:00:00 2001 From: Hugo Duncan Date: Wed, 8 Apr 2015 14:32:29 -0400 Subject: [PATCH] Document the CARGO_HOME env var Adds CARGO_HOME to the config documentation. --- src/doc/config.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/doc/config.md b/src/doc/config.md index a6aaab69e..9cfab21ba 100644 --- a/src/doc/config.md +++ b/src/doc/config.md @@ -78,3 +78,10 @@ timeout = 60000 # Timeout for each HTTP request, in milliseconds [build] jobs = 1 # number of jobs to run by default (default to # cpus) ``` + +# Configuration of registry cache + +Cargo maintains a local cache of the registry index and of git +checkouts of crates. By default these are stored under +`$HOME/.cargo`. The location can be overridden by setting the +`CARGO_HOME` environment variable. -- 2.30.2